package com.dg.gaming.server.data.mysql;

import java.sql.*;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2009</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public abstract class ADBObject<T> {

    public ADBObject() {
    }

//    protected abstract String[] getStatementsToPrepare();
//
//    public abstract ADBObject<T> getByID(long id);

    protected abstract void loadFull(ResultSet rs) throws Exception;

    protected abstract void loadSimple(ResultSet rs) throws Exception;

    protected abstract void save(PreparedStatement ps) throws Exception;
}
